Optimal. Leaf size=145 \[ -\frac{\sqrt{c} (7 b c-3 a d) (b c-a d) \tan ^{-1}\left (\frac{\sqrt{d} x}{\sqrt{c}}\right )}{2 d^{9/2}}+\frac{x (7 b c-3 a d) (b c-a d)}{2 d^4}-\frac{x^3 (7 b c-3 a d) (b c-a d)}{6 c d^3}+\frac{x^5 (b c-a d)^2}{2 c d^2 \left (c+d x^2\right )}+\frac{b^2 x^5}{5 d^2} \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.334834, antiderivative size = 145, normalized size of antiderivative = 1., number of steps used = 5, number of rules used = 4, integrand size = 22, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.182 \[ -\frac{\sqrt{c} (7 b c-3 a d) (b c-a d) \tan ^{-1}\left (\frac{\sqrt{d} x}{\sqrt{c}}\right )}{2 d^{9/2}}+\frac{x (7 b c-3 a d) (b c-a d)}{2 d^4}-\frac{x^3 (7 b c-3 a d) (b c-a d)}{6 c d^3}+\frac{x^5 (b c-a d)^2}{2 c d^2 \left (c+d x^2\right )}+\frac{b^2 x^5}{5 d^2} \]
Antiderivative was successfully verified.
[In] Int[(x^4*(a + b*x^2)^2)/(c + d*x^2)^2,x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [F] time = 0., size = 0, normalized size = 0. \[ \frac{b^{2} x^{5}}{5 d^{2}} - \frac{\sqrt{c} \left (a d - b c\right ) \left (3 a d - 7 b c\right ) \operatorname{atan}{\left (\frac{\sqrt{d} x}{\sqrt{c}} \right )}}{2 d^{\frac{9}{2}}} + \frac{x^{5} \left (a d - b c\right )^{2}}{2 c d^{2} \left (c + d x^{2}\right )} - \frac{x^{3} \left (a d - b c\right ) \left (3 a d - 7 b c\right )}{6 c d^{3}} + \frac{\left (a d - b c\right ) \left (3 a d - 7 b c\right ) \int c\, dx}{2 c d^{4}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate(x**4*(b*x**2+a)**2/(d*x**2+c)**2,x)
[Out]
_______________________________________________________________________________________
Mathematica [A] time = 0.152915, size = 138, normalized size = 0.95 \[ -\frac{\sqrt{c} \left (3 a^2 d^2-10 a b c d+7 b^2 c^2\right ) \tan ^{-1}\left (\frac{\sqrt{d} x}{\sqrt{c}}\right )}{2 d^{9/2}}+\frac{x \left (a^2 d^2-4 a b c d+3 b^2 c^2\right )}{d^4}+\frac{c x (b c-a d)^2}{2 d^4 \left (c+d x^2\right )}-\frac{2 b x^3 (b c-a d)}{3 d^3}+\frac{b^2 x^5}{5 d^2} \]
Antiderivative was successfully verified.
[In] Integrate[(x^4*(a + b*x^2)^2)/(c + d*x^2)^2,x]
[Out]
_______________________________________________________________________________________
Maple [A] time = 0.014, size = 196, normalized size = 1.4 \[{\frac{{b}^{2}{x}^{5}}{5\,{d}^{2}}}+{\frac{2\,ab{x}^{3}}{3\,{d}^{2}}}-{\frac{2\,{x}^{3}{b}^{2}c}{3\,{d}^{3}}}+{\frac{{a}^{2}x}{{d}^{2}}}-4\,{\frac{xabc}{{d}^{3}}}+3\,{\frac{{b}^{2}{c}^{2}x}{{d}^{4}}}+{\frac{{a}^{2}cx}{2\,{d}^{2} \left ( d{x}^{2}+c \right ) }}-{\frac{xab{c}^{2}}{{d}^{3} \left ( d{x}^{2}+c \right ) }}+{\frac{x{b}^{2}{c}^{3}}{2\,{d}^{4} \left ( d{x}^{2}+c \right ) }}-{\frac{3\,{a}^{2}c}{2\,{d}^{2}}\arctan \left ({dx{\frac{1}{\sqrt{cd}}}} \right ){\frac{1}{\sqrt{cd}}}}+5\,{\frac{ab{c}^{2}}{{d}^{3}\sqrt{cd}}\arctan \left ({\frac{dx}{\sqrt{cd}}} \right ) }-{\frac{7\,{b}^{2}{c}^{3}}{2\,{d}^{4}}\arctan \left ({dx{\frac{1}{\sqrt{cd}}}} \right ){\frac{1}{\sqrt{cd}}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int(x^4*(b*x^2+a)^2/(d*x^2+c)^2,x)
[Out]
_______________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \[ \text{Exception raised: ValueError} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((b*x^2 + a)^2*x^4/(d*x^2 + c)^2,x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [A] time = 0.244531, size = 1, normalized size = 0.01 \[ \left [\frac{12 \, b^{2} d^{3} x^{7} - 4 \,{\left (7 \, b^{2} c d^{2} - 10 \, a b d^{3}\right )} x^{5} + 20 \,{\left (7 \, b^{2} c^{2} d - 10 \, a b c d^{2} + 3 \, a^{2} d^{3}\right )} x^{3} + 15 \,{\left (7 \, b^{2} c^{3} - 10 \, a b c^{2} d + 3 \, a^{2} c d^{2} +{\left (7 \, b^{2} c^{2} d - 10 \, a b c d^{2} + 3 \, a^{2} d^{3}\right )} x^{2}\right )} \sqrt{-\frac{c}{d}} \log \left (\frac{d x^{2} - 2 \, d x \sqrt{-\frac{c}{d}} - c}{d x^{2} + c}\right ) + 30 \,{\left (7 \, b^{2} c^{3} - 10 \, a b c^{2} d + 3 \, a^{2} c d^{2}\right )} x}{60 \,{\left (d^{5} x^{2} + c d^{4}\right )}}, \frac{6 \, b^{2} d^{3} x^{7} - 2 \,{\left (7 \, b^{2} c d^{2} - 10 \, a b d^{3}\right )} x^{5} + 10 \,{\left (7 \, b^{2} c^{2} d - 10 \, a b c d^{2} + 3 \, a^{2} d^{3}\right )} x^{3} - 15 \,{\left (7 \, b^{2} c^{3} - 10 \, a b c^{2} d + 3 \, a^{2} c d^{2} +{\left (7 \, b^{2} c^{2} d - 10 \, a b c d^{2} + 3 \, a^{2} d^{3}\right )} x^{2}\right )} \sqrt{\frac{c}{d}} \arctan \left (\frac{x}{\sqrt{\frac{c}{d}}}\right ) + 15 \,{\left (7 \, b^{2} c^{3} - 10 \, a b c^{2} d + 3 \, a^{2} c d^{2}\right )} x}{30 \,{\left (d^{5} x^{2} + c d^{4}\right )}}\right ] \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((b*x^2 + a)^2*x^4/(d*x^2 + c)^2,x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [A] time = 4.56937, size = 280, normalized size = 1.93 \[ \frac{b^{2} x^{5}}{5 d^{2}} + \frac{x \left (a^{2} c d^{2} - 2 a b c^{2} d + b^{2} c^{3}\right )}{2 c d^{4} + 2 d^{5} x^{2}} + \frac{\sqrt{- \frac{c}{d^{9}}} \left (a d - b c\right ) \left (3 a d - 7 b c\right ) \log{\left (- \frac{d^{4} \sqrt{- \frac{c}{d^{9}}} \left (a d - b c\right ) \left (3 a d - 7 b c\right )}{3 a^{2} d^{2} - 10 a b c d + 7 b^{2} c^{2}} + x \right )}}{4} - \frac{\sqrt{- \frac{c}{d^{9}}} \left (a d - b c\right ) \left (3 a d - 7 b c\right ) \log{\left (\frac{d^{4} \sqrt{- \frac{c}{d^{9}}} \left (a d - b c\right ) \left (3 a d - 7 b c\right )}{3 a^{2} d^{2} - 10 a b c d + 7 b^{2} c^{2}} + x \right )}}{4} + \frac{x^{3} \left (2 a b d - 2 b^{2} c\right )}{3 d^{3}} + \frac{x \left (a^{2} d^{2} - 4 a b c d + 3 b^{2} c^{2}\right )}{d^{4}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(x**4*(b*x**2+a)**2/(d*x**2+c)**2,x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [A] time = 0.220427, size = 211, normalized size = 1.46 \[ -\frac{{\left (7 \, b^{2} c^{3} - 10 \, a b c^{2} d + 3 \, a^{2} c d^{2}\right )} \arctan \left (\frac{d x}{\sqrt{c d}}\right )}{2 \, \sqrt{c d} d^{4}} + \frac{b^{2} c^{3} x - 2 \, a b c^{2} d x + a^{2} c d^{2} x}{2 \,{\left (d x^{2} + c\right )} d^{4}} + \frac{3 \, b^{2} d^{8} x^{5} - 10 \, b^{2} c d^{7} x^{3} + 10 \, a b d^{8} x^{3} + 45 \, b^{2} c^{2} d^{6} x - 60 \, a b c d^{7} x + 15 \, a^{2} d^{8} x}{15 \, d^{10}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((b*x^2 + a)^2*x^4/(d*x^2 + c)^2,x, algorithm="giac")
[Out]